package com.cgw.dmplt.rent.dao;

import java.util.List;
import com.cgw.dmplt.rent.domain.RentFlow;

/**
 *
 */
public interface RentFlowDao {
    /**
     * insert.
     * @param rentFlow rentFlow
     * @return id
     */
    String insertRentFlow(RentFlow rentFlow);

    /**
     * delete.
     * @param rentFlow rentFlow
     */
    void deleteRentFlow(RentFlow rentFlow);
    
    /**
     * update.
     * @param rentFlow rentFlow
     */
    void updateRentFlow(RentFlow rentFlow);

    /**
     * find.
     * @param id id
     * @return rentFlow
     */
    RentFlow findRentFlow(Integer id);
    
    /**
     * list.
     * @param rentFlow rentFlow
     * @return rentFlow list
     */
    List listRentFlow(RentFlow rentFlow);
    
    /**
     * listCount.
     * @param rentFlow rentFlow
     * @return list count
     */
    Integer listRentFlowCount(RentFlow rentFlow);
}
